//3333封装具体的业务请求
import { request } from "./core"
import { Method, path } from "./config"

//用这个对象管理方法
const network = {
    //getlist方法
    getgoods(params) { return request(Method.get, path.goods, params) },
    getdetails(params) { return request(Method.get, path.details, params) },
    getcategory(params) { return request(Method.get, path.category, params) },
}
export default network;
